package com.xh.bussiness.exam.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.xh.core.model.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 作业发布-学生任务-作答明细
 * </p>
 *
 * @author Pitt Cheung
 * @since 2021-07-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cp_student_paper_answer_detail")
public class StudentPaperAnswerDetail extends SuperEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 学生试卷作答主表id
     */
    private String studentPaperAnswerId;

    /**
     * 试题id
     */
    private String questionId;

    /**
     * 提交答案
     */
    private String submitAnswer;

    /**
     * 作答结果（-1未作答，0错误，1正确）
     */
    private Integer answerResult;

    /**
     * 分数
     */
    private Integer score;


}
